package com.ruantu.clothing.service.report;

import com.ruantu.clothing.entity.PageBean;
import com.ruantu.clothing.entity.report.StoreReport;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2018/8/10 0010.
 */
public interface StoreReportService {
    /**
     * 查询库存
     *
     * @param fenlei
     * @param
     * @param
     * @param jgid
     * @param pageBean
     * @return
     */
    List<StoreReport> findStoreReport(StoreReport stortReport, int fenlei, String sort, String order, String jgid, PageBean pageBean);

    /**
     * 查询裁剪数量
     *
     * @return
     */
    List<StoreReport> findTailorByProduct(Map<String, Object> map);

    /**
     * 查询入库数量
     *
     * @param map
     * @return
     */
    List<StoreReport> findRukuByProducr(Map<String, Object> map);

    /**
     * 查询出库数量
     *
     * @param map
     * @return
     */
    List<StoreReport> findChukuByProduct(Map<String, Object> map);

    /**
     * 查询footer
     *
     * @return
     */
    List<StoreReport> findStoreReportFooter(String jgid, StoreReport stortReport);

    /**
     * 导出excel
     *
     * @param stortReport
     * @param jgid
     * @param fenlei
     * @return
     */
    XSSFWorkbook downloadExcel(StoreReport stortReport, String jgid, int fenlei);
}
